#! /usr/bin/env python

import sys;

def tipos():
	print "Tipos Basicos"
	print "integer (long en C). Almenos 32 bits. Rango: de ", -sys.maxint -1 ," a ", sys.maxint;
	print "long. Precision ilimitada"
	print "float (double en C).", sys.float_info;
	print "complex"
	print

def operaciones():
	print "Operaciones Basicas"
	print "suma 5+3: ", 5 + 3
	print "resta 5-3: ", 5 - 3
	print "multiplicacion 5*3: ", 5 * 3
	print "cociente 5/3: ", 5 / 3
	print "resto 5%3: ", 5 % 3
	print "divmod(5,3)", divmod(5,3)
	print "cast a int: int()"
	print "cast a long: long()"
	print "cast a float: float()"
	print "exponencial: pow(5,3): ", pow(5,3)
	print "exponencial: 5**3: ", 5**3
	print
	
tipos()
operaciones()
